package item.inkcloud.userservice.entity;

import lombok.*;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;


public class UserInfo {
    private String userid;
    private String username;
    private String password="";
    private String gender;
    private Integer age;
    private String introduction="这个人很懒，什么也没有写";
    private String province;
    private String email;

    public UserInfo(String userid, String username,
                    String password, String gender,
                    Integer age, String introduction,
                    String province, String email) {
        this.userid = userid;
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.age = age;
        this.introduction = introduction;
        this.province = province;
        this.email = email;
    }


    public UserInfo() {
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "userid='" + userid + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", introduction='" + introduction + '\'' +
                ", province='" + province + '\'' +
                ", email='" + email + '\'' +
                '}';
    }
}
